package com.lee.enjoy221113_retrofit;

import okhttp3.Call;
import okhttp3.ResponseBody;

/**
 * @ProjectName: LifeCycleTest
 * @Package: com.lee.enjoy221113_retrofit
 * @ClassName: WeatherApi
 * @Description: java类作用描述
 * @Author: 李占伟
 * @CreateDate: 2022/11/14 23:44
 * @UpdateUser: 更新者
 * @UpdateDate: 2022/11/14 23:44
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */

interface WeatherApi {
    //110101 ae6c53e2186f33bbf240a12d80672d1b
    //baseurl = https://restapi.amap.com
    @POST("/v3/wether/weatherInfo")
    Call postWeather(@FIELD("city") String city,@FIELD("key") String eky);
    //retrofit 没有网络访问能力，是对okhttp的封装
}
